
<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="name" value="{{d.params.name || ''}}" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">价值</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="value" value="{{d.params.value || ''}}" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">开始时间</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="start" id="form-start-date" lay-verify="date" value="{{ d.params.start || '' }}" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">结束时间</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="end" id="form-end-date" lay-verify="date" value="{{ d.params.end || '' }}" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">过期时间</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="expire" value="{{d.params.expire || ''}}" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">类型</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="radio" name="type" value="1" title="注册发放" {{ d.params.type == 2 || 'checked' }}>
                <input type="radio" name="type" value="2" title="主动发放" {{ d.params.type != 2 || 'checked' }}>
            </script>
        </div>
    </div>

    <script type="text/html" template>
        <input name="id" value="{{d.params.id || 0}}" type="hidden">
    </script>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" value="确认" class="layui-btn">
        </div>
    </div>

</div>
